/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package marsaMaroc.model;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author Administrateur
 */
@Entity
@Table(name = "Affectation_Employe")
public class AffectationEmp implements Serializable{
    
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "ID")
    private int id;
    @Column(name = "MATRICULE")
    private String matricule;
    @Column(name = "DATE_AFFECTATION")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dateAffectationEmp;
    @Column(name = "SHIFT_AFFECTATION_EMP")
    private String shiftAffectationEmp;

    public AffectationEmp() {
    }

    public String getMatricule() {
        return matricule;
    }

    public void setMatricule(String matricule) {
        this.matricule = matricule;
    }

    public Date getDateAffectationEmp() {
        return dateAffectationEmp;
    }

    public void setDateAffectationEmp(Date dateAffectationEmp) {
        this.dateAffectationEmp = dateAffectationEmp;
    }

    public String getShiftAffectationEmp() {
        return shiftAffectationEmp;
    }

    public void setShiftAffectationEmp(String shiftAffectationEmp) {
        this.shiftAffectationEmp = shiftAffectationEmp;
    }
    
    
}
